﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Navigation.aspx.cs" Inherits="shiyan785.Navigation" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Navigation</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" SiteMapProvider="XmlSiteMapProvider1" />
        <asp:SiteMapDataSource ID="SiteMapDataSource2" runat="server" SiteMapProvider="XmlSiteMapProvider2" />

        <h2>TreeView Navigation for Web1.sitemap</h2>
        <asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1" />

        <h2>Vertical Menu Navigation for Web1.sitemap</h2>
        <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" Orientation="Vertical" />

        <h2>Horizontal Menu Navigation for Web2.sitemap</h2>
        <asp:Menu ID="Menu2" runat="server" DataSourceID="SiteMapDataSource2" Orientation="Horizontal" />
    </form>
</body>
</html>